/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zmy
 * @version 2019-04-16
 */
public class HhxInvest extends DataEntity<HhxInvest> {
	
	private static final long serialVersionUID = 1L;
	private String userid;		// 发布用户id
	private String category;		// 分类
	private String amt;		// 资金
	private String tel;		// 联系方式
	private String company;		// 公司
	private String contactname;		// 联系人
	private String description;
	
	public HhxInvest() {
		super();
	}

	public HhxInvest(String id){
		super(id);
	}

	@Length(min=0, max=3, message="发布用户id长度必须介于 0 和 3 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Length(min=0, max=20, message="分类长度必须介于 0 和 20 之间")
	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
	
	@Length(min=0, max=10, message="资金长度必须介于 0 和 10 之间")
	public String getAmt() {
		return amt;
	}

	public void setAmt(String amt) {
		this.amt = amt;
	}
	
	@Length(min=0, max=12, message="联系方式长度必须介于 0 和 12 之间")
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}
	
	@Length(min=0, max=50, message="公司长度必须介于 0 和 50 之间")
	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}
	
	@Length(min=0, max=50, message="联系人长度必须介于 0 和 50 之间")
	public String getContactname() {
		return contactname;
	}

	public void setContactname(String contactname) {
		this.contactname = contactname;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}